#include "Adapter.h"

int main() {
  // Class Adapter
  Target* class_adapter = new ClassAdapter();
  class_adapter->request();

  // Object Adapter
  Adaptee* adaptee1 = new Adaptee1();
  Target* object_adapter1 = new ObjectAdapter(adaptee1);
  object_adapter1->request();

  Adaptee* adaptee2 = new Adaptee2();
  Target* object_adapter2 = new ObjectAdapter(adaptee2);
  object_adapter2->request();

  return 0;
}
